package com.zzh.phone.hviews;


import android.os.Bundle;
import android.util.Log;
import android.view.View;

import com.zzh.mvvm.base.BaseRabbitActivity;
import com.zzh.phone.hviews.databinding.ActMdWidgetBinding;
import com.zzh.phone.hviews.vm.BaseWidgetViewModel;

/**
 * Created by ZZH on 2022/8/18.
 *
 * @Date: 2022/8/18
 * @Email: zzh_hz@126.com
 * @QQ: 1299234582
 * @Author: zzh
 * @Description:
 */
public class MDGWidgetActivity extends BaseRabbitActivity<BaseWidgetViewModel, ActMdWidgetBinding> {
    @Override
    protected void initViewAndData(Bundle savedInstanceState) {

        bind.tieInput.setOnFocusChangeListener(new View.OnFocusChangeListener() {
            @Override
            public void onFocusChange(View v, boolean hasFocus) {
                Log.d("MDGWidgetActivity", "onFocusChange: " + hasFocus);
            }
        });

    }

    @Override
    protected int initVariableId() {
        return BR.viewModel;
    }
}
